package com.pingan.pastry.thread;

import java.util.concurrent.*;

public class ThreadMain {

    public static void main(String[] args) {
       /* ThreadDemo threadDemo = new ThreadDemo("开始...");
        threadDemo.start();
        System.out.println("main");*/
        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(5, 10,
                60, TimeUnit.SECONDS, new ArrayBlockingQueue(10));

        ExecutorService pool=Executors.newFixedThreadPool(10);
    }
}
